import lombok.Lombok;

public class Test {
    public static void main(String[] args) {
        System.out.println(String.class.getClassLoader()); //null
        System.out.println(sun.net.spi.nameservice.dns.DNSNameService.class.getClassLoader()); //sun.misc.Launcher$ExtClassLoader@7ea987ac

        System.out.println(sun.net.spi.nameservice.dns.DNSNameService.class.getClassLoader().getClass().getClassLoader());//null

        System.out.println(Lombok.class.getClassLoader()); //sun.misc.Launcher$AppClassLoader@18b4aac2
        System.out.println(Test.class.getClassLoader()); //sun.misc.Launcher$AppClassLoader@18b4aac2
        System.out.println(Test.class.getClassLoader().getClass().getClassLoader());//null
    }
}
